package com.kitchen.ui.deco
{
	import flash.geom.Rectangle;

	public class CounterContainer extends DecoContainer
	{
		private var westebin:Wastebin;
		
		public function CounterContainer(w:int, h:int)
		{
			super(w, h);
			this.pid = 6;
			this.prange = new Rectangle(0, 0, w, h);
			this.bg = new BackGround(w, h);
			this.bg.x = this.bg.y = 0;
			this.addChild(bg);
		}
		
		override public function append(deco:Object):void{
			if(this.pid == deco.nPosit){
				this.bg.setBgImage(deco);
			}else if(deco.nPosit == 7){
				
			}
		}
	}
}